package com.javastudy;

import org.junit.Test;

public class Test02 {
	@Test
	public void multiply (){
		int i=1,j=1;
		while (i<10) {
			while(j<10){
				System.out.println(i+"*"+j+"="+i*j);
				j++;
			}
			i++;
			j=1;
		}			
	}
	@Test
	public void multiply2(){
		for (int i = 1; i < 10; i++) {
			for (int j = 1; j < 10; j++) {
				System.out.print(i+"*"+j+"="+i*j+" ");
			}
			System.out.println();
		}
	}
}

